package com.guli.product.dao;

import com.guli.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 品牌分类关联
 * @author zzb
 * @email 1626131069@qq.com
 * @date 2023-10-21 10:18:56
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    void updateRelationBrand(@Param("brandId") Long brandId, @Param("brandName") String categoryName);

    void updateRelationCategory(@Param("categoryId") Long catId, @Param("categoryName") String name);
}
